Failed
Scenario: Start broker for all scenarios.Scenario: Start broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunDeviceBrokerStealingLinkI9nTest)
Failing for the past 3 builds
(Since Aborted
)
Error Message
Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager
Stacktrace
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.kapua.commons.event.ServiceEventBusManager
Standard Output
############################################################################### # Copyright (c) 2017, 2018 Eurotech and/or its affiliates and others # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Eurotech - initial API and implementation ############################################################################### @broker @stealingLink Feature: Device Broker Cluster tests Test functionality for distributed Stealing link scenarios. This is case for cluster of brokers where CONNECT messages get forwarded form one broker to others in cluster and by this disconnecting client form other brokers. Tests also include connecting client with same id. 05:11:18.606 [main] INFO o.eclipse.kapua.qa.steps.BasicSteps - Wait multiplier active: 4.0 05:11:18.606 [main] INFO org.eclipse.kapua.qa.steps.DBHelper - Setting up mock database 05:11:18.613 [main] INFO org.reflections.Reflections - Reflections took 2 ms to scan 12 urls, producing 839 keys and 852 values 05:11:18.726 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... 05:11:18.726 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 3 05:11:18.726 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.pre.xml 05:11:18.743 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-event-store-master.pre.xml 05:11:18.755 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-system-configurations-master.pre.xml 05:11:18.768 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... DONE! 05:11:18.768 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... 05:11:18.768 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 10 05:11:18.768 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-account-master.xml 05:11:18.797 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authentication-master.xml 05:11:18.832 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.xml 05:11:18.900 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-broker-master.xml 05:11:18.911 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-datastore-master.xml 05:11:18.924 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-management-master.xml 05:11:18.935 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-master.xml 05:11:19.001 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-stream-master.xml 05:11:19.009 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-tag-master.xml 05:11:19.027 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml 05:11:19.054 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... DONE! 05:11:19.054 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... 05:11:19.054 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 0 05:11:19.054 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... DONE! 05:11:19.054 [main] INFO o.e.k.qa.steps.EmbeddedEventBroker - Starting new instance 05:11:19.054 [main] INFO o.a.activemq.artemis.core.server - AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=target/artemis1CwIez52SKGEXugNFYavnA/data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/largemessages,pagingDirectory=data/paging) 05:11:19.054 [main] INFO o.a.activemq.artemis.core.server - AMQ221045: libaio is not available, switching the configuration into NIO 05:11:19.055 [main] INFO o.a.activemq.artemis.core.server - AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 520,880,128 05:11:19.055 [main] INFO o.a.activemq.artemis.core.server - AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE 05:11:19.055 [main] INFO o.a.activemq.artemis.core.server - AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP 05:11:19.064 [main] ERROR o.a.activemq.artemis.core.server - AMQ224000: Failure in initialisation io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use at io.netty.channel.unix.Errors.newIOException(Errors.java:117) at io.netty.channel.unix.Socket.bind(Socket.java:285) at io.netty.channel.epoll.AbstractEpollChannel.doBind(AbstractEpollChannel.java:696) at io.netty.channel.epoll.EpollServerSocketChannel.doBind(EpollServerSocketChannel.java:70) at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558) at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1283) at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:989) at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254) at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:309) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at java.lang.Thread.run(Thread.java:748) 05:11:19.064 [main] INFO o.a.activemq.artemis.core.server - AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.2.0 [localhost, nodeID=4875136f-cba3-11e8-b031-002590fd0404] 05:11:21.887 [Camel (camelContext) thread #86 - JmsConsumer[storeGenericException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeGenericException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.887 [Camel (camelContext) thread #81 - JmsConsumer[storeCommunicationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeCommunicationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.887 [Camel (camelContext) thread #83 - JmsConsumer[storeConfigurationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeConfigurationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.888 [Camel (camelContext) thread #88 - JmsConsumer[notProcessableMessage]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'notProcessableMessage' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.888 [Camel (camelContext) thread #74 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.>' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.894 [Camel (camelContext) thread #90 - JmsConsumer[storeConfigurationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeConfigurationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.898 [Camel (camelContext) thread #93 - JmsConsumer[storeGenericException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeGenericException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.898 [Camel (camelContext) thread #55 - JmsConsumer[notProcessableMessage]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'notProcessableMessage' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.898 [Camel (camelContext) thread #92 - JmsConsumer[storeCommunicationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeCommunicationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.898 [Camel (camelContext) thread #39 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.>' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.905 [Camel (camelContext) thread #8 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.>' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.905 [Camel (camelContext) thread #98 - JmsConsumer[notProcessableMessage]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'notProcessableMessage' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.905 [Camel (camelContext) thread #97 - JmsConsumer[storeGenericException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeGenericException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.906 [Camel (camelContext) thread #60 - JmsConsumer[storeConfigurationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeConfigurationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist. 05:11:21.906 [Camel (camelContext) thread #96 - JmsConsumer[storeCommunicationException]] ERROR o.a.c.c.j.DefaultJmsMessageListenerContainer - Could not refresh JMS Connection for destination 'storeCommunicationException' - retrying using FixedBackOff{interval=5000, currentAttempts=1, maxAttempts=unlimited}. Cause: Could not create Transport. Reason: java.io.IOException: Broker named 'message-broker' does not exist.